<script type="text/javascript" src="scripts/ubb.js"></script>
<script type="text/javascript" src="scripts/editor.js"></script>

$ScriptBlock$
<form id="EditForm" name="EditForm" method="POST" onsubmit="return checksubmit();"  enctype="multipart/form-data">
<input type="hidden" name="Mode" value="$Mode$" />
<input type="hidden" name="BoardId" value="$BoardId$" />
<input type="hidden" name="TopicId" value="$TopicId$" />
<input type="hidden" name="Username" value="$Username$" />
<input type="hidden" name="UID" value="$UID$" />
<input type="hidden" name="AttachIds" value="$AttachIds$" />
<input type="hidden" name="VoteIds" value="$VoteIds$" />
<input type="hidden" name="EffectMinutes" value="$EffectMinutes$" />
<input type="hidden" name="Token" value="$Token$" />
$controls/tableheader(
Caption=Caption,
ElementId="editor"
)$
$if(ShowTitleRow)$
<table cellspacing="0" class="inner">
<tr class="forumtd" style="$if(ReplyMode)$display:none;$endif$">
<td class="topicLeft">标题：&nbsp;</td>
<td class="topicRight"><input id="Title" maxlength="50" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" style="width:50%;" name="Title" value="$Title$" />
&nbsp;(标题长度不超过 50 个字符)</td>
</tr>
$endif$
<tr class="forumtd">
<td class="topicLeft">
<p>正文内容&nbsp;<span style="color:#F00">*</span></p>
<p>&nbsp;</p>
<p>
<input id="urloff" type="checkbox" value="1" name="urloff" class="smallbox" />
禁用 URL 识别</p>
<p>
<input id="emotionoff" type="checkbox" value="2" name="emotionoff" class="smallbox" />
禁用表情符号</p>
<p>
<input id="ubboff" type="checkbox" value="4" name="ubboff" class="smallbox" />
禁用 UBB</p>
<p>&nbsp;</p>
<p>内容限制：<span class="small t1">
<script>
if (EditorMode.indexOf('Topic') > -1)
document.write(TopicContentSize);
else
document.write(ReplyContentSize);
</script>
</span>个字符</p>
$if(QuickMode)$$else$
<p>&nbsp;</p>
<p>允许上传附件
<script>if(AllowUpload) document.write("√"); else document.write("×");</script>
</p>
<p>允许发布图片
<script>if(AllowImage) document.write("√"); else document.write("×");</script>
</p>
<p>允许发布Flash
<script>if(AllowFlash) document.write("√"); else document.write("×");</script>
</p>
<p>允许发布视频
<script>if(AllowMedia) document.write("√"); else document.write("×");</script>
</p>
<p>允许发布代码
<script>if(AllowCode) document.write("√"); else document.write("×");</script>
</p>
<p>&nbsp;</p>
<p class="an">
<input type="checkbox" class="smallbox" name="checkbox" disabled="disabled" value="checkbox" id="checkbox" />
<label for="checkbox">回复短消息提示</label>
</p>
<p class="partition"></p>
<p class="an">
<input type="checkbox" class="smallbox" name="checkbox" disabled="disabled" value="checkbox" id="checkbox" />
<label for="checkbox">仅FANS可见</label>
</p>
<p class="partition"></p>
<p class="an">
<input type="checkbox" class="smallbox" name="checkbox" disabled="disabled" value="checkbox" id="checkbox" />
<label for="checkbox">仅好友可见</label>
</p>
<p class="partition"></p>
<p class="an">
<input type="checkbox" class="smallbox" name="checkbox" disabled="disabled" value="checkbox" id="checkbox" />
<select name="select" id="select">
<option selected>所有会员</option>
<option>管理员</option>
<option>超级版主</option>
<option>版主</option>
<option>其他用户组</option>
</select>
&nbsp;可见</p>
$endif$</td>
<td class="topicRight">
<div class="ubb_button">
<div class="ubb_div">
<textarea id="editbox" name="editbox" onkeydown="return ctlent(event)" style="height:120px;">
$Content$
</textarea>
</div>
</div></td>
</tr>
<tr class="forumtd">
<td align="center" colspan="2">$if(ShowVerifier)$验证码
<input type='text' name='verification' style='width:50px;' class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" />
<script language='javascript'> document.write("<img src='verifier.aspx?time=", new Date(), "' alt='验证码图片, 看不清字符请点击刷新, 如果是加法运算, 填入计算结果'   style='cursor:hand' onclick=\"this.src = this.src.substring(0, this.src.indexOf('time=')) + 'time=' + new Date()\"/>"); </script>
&nbsp;&nbsp;$endif$
<input type="submit" id="post" name="post" class="button" value="提 交&nbsp;(Ctrl + Enter)"/></td>
</tr>
</table>
$controls/tablefooter()$<span id="votecontainer" style="display:none;"></span>
</form>
<script type="text/javascript">
document.forms["EditForm"].urloff.checked = ((Tag&1) != 0);
document.forms["EditForm"].emotionoff.checked = ((Tag&2) != 0);
document.forms["EditForm"].ubboff.checked = ((Tag&4) != 0);
</script>